-- GENERATED SPELL FOR [Blue Flutterer] --


function spell0_17349(pUnit, Event) --@Rake,n/a--
pUnit:FullCastSpellOnTarget(36332,pUnit:GetMainTank ())
pUnit:RegisterEvent('Sorts_17349', 9000, 1)
end

function Sorts_17349(pUnit, Event)
local choix_sorts_17349 = math.random(0, 0)
if choix_sorts_17349 == 0 then
pUnit:RegisterEvent('spell0_17349', 1, 1)
end
end

function mob17349_Action(pUnit, Event)
pUnit:RegisterEvent('Sorts_17349', math.random(1500, 3000), 1)
end

function mob17349_Leave(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17349_Kill(pUnit, Event)
--pUnit:RemoveEvents();--
end

function mob17349_Die(pUnit, Event)
pUnit:RemoveEvents();
end

RegisterUnitEvent(17349, 1, 'mob17349_Action')
RegisterUnitEvent(17349, 2, 'mob17349_Leave')
RegisterUnitEvent(17349, 3, 'mob17349_Kill')
RegisterUnitEvent(17349, 4, 'mob17349_Die')
